package com.neuedu.object;

public class Example {
	public static void change(String str ,char[] chars) {
		str="abcdef";
		chars[1]='e';
	} 
	

	public static void main(String[] args) {
		String str="123456";
		char[] chars=new char[] {'a','b','c','d'};
		change(str,chars);
		System.out.println(str);
		System.out.println(new String(chars));

	}

}
